<!--
  User: Kuttubek Aidaraliev
  Date: 17.05.2010
  Time: 07:04:32
-->

<rich:panel rendered="#{not empty facesContext.maximumSeverity}"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:rich="http://richfaces.org/rich"
        xmlns:a4j="http://richfaces.org/a4j">
        <h:outputText value="#{messages.errorByValidation}" style="color:red;"/>
        <a4j:outputPanel ajaxRendered="true">
            <h:messages/>
        </a4j:outputPanel>
</rich:panel>